package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.complete.entity.enumerate.PowerStatus;
import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Power implements Trans<Power, CompleteEntity.Power> {

    /**
     * 发送卡序号，全屏为 -1
     */
    private Integer prcIndex;

    /**
     * 电源控制状态
     */
    private PowerStatus powerStatus;

    /**
     * 屏幕组序号
     */
    private Integer groupIndex;
}

